package com.yunshang.shoppingmall.service;

import com.yunshang.shoppingmall.entity.Area;

import java.util.List;

public interface AreaService {
    int deleteByPrimaryKey(Long id);

    int insert(Area record);

    int insertSelective(Area record);

    Area selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Area record);

    int updateByPrimaryKey(Area record);
    List<Area> selectListAll();
    List<Area> selectArea(int parentId,int level);
    List<Area> selectAreaList(int parentId,int level);
}
